﻿using System.Collections;
using UnityEngine;
using UnityEngine.UI;

public class Text_Point : MonoBehaviour
{
    private SaveManager saveManager;
    private Text m_Text;

    private void Awake()
    {
        saveManager =  Service.Get<GameManager>().saveManager;
        m_Text = GetComponent<Text>();
    }
    private void OnEnable()
    {
        m_Text.text = $"{saveManager.Point} / {SaveData.STAR_NUM}";
    }
}
